home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3nurbs2.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_NURBS2_H = 1;
- include("real/objects/r3prim.js")
- include("real/objects/r3nurbs.js")
-
-
- var R3CLID_NURBS2 = 694;
-
-
-
-
- // Description: Set radius for the selected points
- // p3: Number, new radius
-
- R3NURBS2M_SETSELECTEDRADIUS = 694000;
-
- function mR3NURBS2M_SETSELECTEDRADIUS(p3) {
- DoA(this.r3obj, 694000, p3, R3TID_FLOAT, 0);
- }
-
- // Description: Get radius of the given point
- // Returns: Boolean, true if succeeded.
- // p1: Number, buffer for the radius.
- // p3: Integer, index of the point
-
- R3NURBS2M_GETRADIUS = 694001;
-
- function mR3NURBS2M_GETRADIUS(p1, p3) {
- return DoA2(this.r3obj, 694001, p1, R3TID_FLOAT, 0, p3, R3TID_INTEGER, 0);
- }
-
-
-
-
- R3NURBS2A_Radius = 694500;
- function SetR3NURBS2A_Radius(value) {
- R3Set(this.r3obj, R3NURBS2A_Radius, value, R3TID_FLOAT, R3TNF_ARRAY);
- }
-
- function GetR3NURBS2A_Radius() {
- return R3Get(this.r3obj, R3NURBS2A_Radius, R3TID_FLOAT, R3TNF_ARRAY);
- }
-
- R3NURBS2A_Points = 694501;
- function SetR3NURBS2A_Points(value) {
- R3Set(this.r3obj, R3NURBS2A_Points, value, R3TID_VECTOR, R3TNF_ARRAY);
- }
-
- function GetR3NURBS2A_Points() {
- return R3Get(this.r3obj, R3NURBS2A_Points, R3TID_VECTOR, R3TNF_ARRAY);
- }
-
- R3NURBS2A_Count = 694502;
- function SetR3NURBS2A_Count(value) {
- R3Set(this.r3obj, R3NURBS2A_Count, value, R3TID_INTEGER, 0);
- }
-
- function GetR3NURBS2A_Count() {
- return R3Get(this.r3obj, R3NURBS2A_Count, R3TID_INTEGER, 0);
- }
-
- R3NURBS2A_ScanLineQuality = 694503;
- function SetR3NURBS2A_ScanLineQuality(value) {
- R3Set(this.r3obj, R3NURBS2A_ScanLineQuality, value, R3TID_INTEGER, 0);
- }
-
- function GetR3NURBS2A_ScanLineQuality() {
- return R3Get(this.r3obj, R3NURBS2A_ScanLineQuality, R3TID_INTEGER, 0);
- }
-
- R3NURBS2A_Diameter = 694504;
- function SetR3NURBS2A_Diameter(value) {
- R3Set(this.r3obj, R3NURBS2A_Diameter, value, R3TID_FLOAT, 0);
- }
-
- function GetR3NURBS2A_Diameter() {
- return R3Get(this.r3obj, R3NURBS2A_Diameter, R3TID_FLOAT, 0);
- }
-
-
-
- function r3Nurbs2 () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_NURBS2, arguments);
- }
- // Methods
- this.SETSELECTEDRADIUS=mR3NURBS2M_SETSELECTEDRADIUS;
- this.GETRADIUS=mR3NURBS2M_GETRADIUS;
-
- // Attributes
- this.GetRadius=GetR3NURBS2A_Radius;
- this.SetRadius=SetR3NURBS2A_Radius;
- this.GetPoints=GetR3NURBS2A_Points;
- this.SetPoints=SetR3NURBS2A_Points;
- this.GetCount=GetR3NURBS2A_Count;
- this.SetCount=SetR3NURBS2A_Count;
- this.GetScanLineQuality=GetR3NURBS2A_ScanLineQuality;
- this.SetScanLineQuality=SetR3NURBS2A_ScanLineQuality;
- this.GetDiameter=GetR3NURBS2A_Diameter;
- this.SetDiameter=SetR3NURBS2A_Diameter;
- }
-
- r3Nurbs2.prototype=new r3Primitive;
- // r3nurbs2.h_H